<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="research-article" dtd-version="1.2" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="issn">1561-5405</journal-id>
	    <journal-id journal-id-type="doi">10.24151/1561-5405</journal-id>	  
      <journal-id journal-id-type="publisher-id">Proceedings of Universities. Electronics</journal-id>
      <journal-title-group>
        <journal-title xml:lang="en">Scientifical and technical journal "Proceedings of Universities. Electronics"</journal-title>
        <trans-title-group xml:lang="ru">
          <trans-title>Научно-технический журнал «Известия высших учебных заведений. Электроника»</trans-title>
        </trans-title-group>        
      </journal-title-group>      
      <issn publication-format="print">1561-5405</issn>
      <issn publication-format="online">2587-9960</issn>
      <publisher>
        <publisher-name xml:lang="en">National Research University of Electronic Technology</publisher-name>
        <publisher-name xml:lang="ru">Национальный исследовательский университет "Московский институт электронной техники"</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>                                    
      
    <article-id pub-id-type="doi">10.24151/1561-5405-2025-30-3-334-343</article-id><article-id pub-id-type="risc">EHTQFI</article-id><article-id pub-id-type="udk">519.876.5</article-id><article-categories><subj-group><subject>Биомедицинская электроника</subject></subj-group></article-categories><title-group><article-title xml:lang="en">The software simulator for evaluating automated insulin therapy algorithms</article-title><trans-title-group xml:lang="ru"><trans-title>Программный симулятор для оценки алгоритмов автоматизированной инсулинотерапии</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author"><string-name xml:lang="ru">Чупраков Дмитрий Алексеевич</string-name><name-alternatives><name xml:lang="ru"><surname>Чупраков</surname><given-names>Дмитрий Алексеевич</given-names></name><name xml:lang="en"><surname>Chuprakov</surname><given-names>Dmitry A.</given-names></name></name-alternatives><string-name xml:lang="en">Dmitry A. Chuprakov</string-name><xref ref-type="aff" rid="AFF-1"/></contrib><contrib contrib-type="author"><string-name xml:lang="ru">Пожар Кирилл Витольдович</string-name><name-alternatives><name xml:lang="ru"><surname>Пожар</surname><given-names>Кирилл Витольдович</given-names></name><name xml:lang="en"><surname>Pozhar</surname><given-names>Kirill V.</given-names></name></name-alternatives><string-name xml:lang="en">Kirill V. Pozhar</string-name><xref ref-type="aff" rid="AFF-1"/></contrib><contrib contrib-type="author"><string-name xml:lang="ru">Струкова Элина Игоревна</string-name><name-alternatives><name xml:lang="ru"><surname>Струкова</surname><given-names>Элина Игоревна</given-names></name><name xml:lang="en"><surname>Strukova</surname><given-names>Elina I.</given-names></name></name-alternatives><string-name xml:lang="en">Elina I. Strukova</string-name><xref ref-type="aff" rid="AFF-1"/></contrib><contrib contrib-type="author"><string-name xml:lang="ru">Кирюточкин Никита Сергеевич</string-name><name-alternatives><name xml:lang="ru"><surname>Кирюточкин</surname><given-names>Никита Сергеевич</given-names></name><name xml:lang="en"><surname>Kiryutochkin</surname><given-names>Nikita S.</given-names></name></name-alternatives><string-name xml:lang="en">Nikita S. Kiryutochkin</string-name><xref ref-type="aff" rid="AFF-1"/></contrib><aff id="AFF-1" xml:lang="ru">National Research University of Electronic Technology (Russia, 124498, Moscow, Zelenograd, Shokin sq., 1)</aff></contrib-group><pub-date iso-8601-date="2025-07-30" date-type="pub" publication-format="electronic"><day>30</day><month>07</month><year>2025</year></pub-date><volume>Том. 30 №3</volume><issue>3</issue><fpage>334</fpage><lpage>343</lpage><self-uri>http://ivuz-e.ru/en/issues/Том 30 №3/programmnyy_simulyator_dlya_otsenki_algoritmov_avtomatizirovannoy_insulinoterapii/</self-uri><abstract xml:lang="en"><p>New systems and algorithms for automating the control of drug administration into the human body require mandatory verification before testing directly on patients. The main task is to create a software tool capable of conducting a comprehensive evaluation of the efficiency of developed systems and algorithms of automated insulin therapy. In this work, a software concept for evaluating the efficiency of automated insulin therapy systems with three modes of operation is proposed. The three modes of operation are: testing the algorithm of insulin pump control, testing the mathematical model of human metabolism and model identification. The software is based on the mathematical model of human metabolism characterized by a high degree of completeness and accuracy. It was shown that numerical solution of the model for the given scenario of external perturbations and given control algorithm makes it possible to evaluate the control efficiency both graphically and by a set of statistical, technical and medical metrics. The simulation of errors in the technical elements of the insulin therapy system, such as insulin pump and glucose monitor, and of time and amplitude delays of user input of external perturbations data is implemented. It is possible to compare custom mathematical models, written as systems of ordinary differential equations, with the built-in model. The software that is open-source and written using Python language allows creation of a digital twin of a real patient for further use in simulations by identifying the built-in mathematical model from a set of experimental data. A graphical interface has been developed and methods for solving differential equations and optimization have been selected. The application of the developed software will allow the acceleration and simplification of the development process of new methods, control algorithms and mathematical models used to automate insulin therapy of patients with type 1 diabetes.</p></abstract><trans-abstract xml:lang="ru"><p>Новые системы и алгоритмы автоматизации управления введением лекарственных средств в организм человека требуют обязательной верификации до проведения испытаний непосредственно на пациентах. Для комплексной оценки эффективности раз-рабатываемых систем и алгоритмов автоматизированной инсулинотерапии требуется со-здание программного инструмента. В работе предложена методика программного обеспе-чения для оценки эффективности функционирования системы автоматизированной инсулинотерапии, имеющего три режима работы: проверка алгоритма управления инсу-линовым насосом, проверка математической модели метаболизма человека и идентифика-ция модели. В основе программного обеспечения использована математическая модель метаболизма человека, характеризующаяся высокой степенью полноты и точности. Пока-зано, что численное решение модели для заданных сценария внешних возмущений и алгоритма управления позволяет как графически, так и по набору статистических, технических и медицинских метрик оценить эффективность управления. Реализована имитация погрешностей технических элементов системы инсулинотерапии, таких как инсулиновый насос и монитор глюкозы, а также временных и амплитудных задержек введения данных о внешних возмущениях пользователем. Возможно сравнение пользовательских математических моделей, записанных в виде систем обыкновенных дифференциальных уравнений, со встроенной моделью. Программное обеспечение, реализованное на языке Python с открытым исходным кодом, позволяет создавать цифровой двойник реального пациента для дальнейшего использования в симуляциях путем идентификации встроенной математической модели по набору экспериментальных данных. Разработан графический интерфейс и подобраны методы решения дифференциальных уравнений и методы оптимизации. Применение предложенного программного обеспечения позволит ускорить и упростить процесс разработки новых методов, алгоритмов управления и математических моделей, используемых для автоматизации инсулинотерапии пациентов с сахарным диабетом 1-го типа.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>personalized automated insulin therapy</kwd><kwd>mathematical modeling of human metabolism</kwd><kwd>insulin therapy components testing</kwd></kwd-group><kwd-group xml:lang="en"><kwd>personalized automated insulin therapy</kwd><kwd>mathematical modeling of human metabolism</kwd><kwd>insulin therapy components testing</kwd></kwd-group><funding-group><funding-statement xml:lang="ru">Работа выполнена при финансовой поддержке Российского научного фонда (Соглашение № 23-24-00461 от 19.01.2023).</funding-statement><funding-statement xml:lang="ru">The work has been supported by the Russian Science Foundation (Agreement no. 23-24-00461 dated 19.01.2023).</funding-statement></funding-group></article-meta>
  </front>
  <body/>
  <back>
    <ref-list><ref id="B1"><label>1.</label><mixed-citation xml:lang="ru">Демидова Т. Ю., Титова В. В. Инсулинотерапия - персонализированный подход к управлению гликемией при сахарном диабете. Терапевтический архив. 2020;92(12):201-206.  DOI: 10.26442/00403660.2020.12.200449  EDN: KMIXUV</mixed-citation></ref><ref id="B2"><label>3.</label><mixed-citation xml:lang="ru">Demidova T. Yu., Titova V. V. Insulin therapy is a personalized approach to glycemic management in diabetes. Terapevticheskii arkhiv. 2020;92(12):201-206. (In Russ.).  DOI: 10.26442/00403660.2020.12.200449  EDN: KMIXUV</mixed-citation></ref><ref id="B3"><label>2.</label><mixed-citation xml:lang="ru">Шишин К. С., Климонтов В. В. Системы автоматизированного введения инсулина с открытым кодом: преимущества, ограничения и вызовы в лечении сахарного диабета. Сахарный диабет. 2023;26(4):352-362.  DOI: 10.14341/DM13022  EDN: UQLBIX</mixed-citation></ref><ref id="B4"><label>5.</label><mixed-citation xml:lang="ru">Shishin K. S., Klimontov V. V. Open source automated insulin delivery systems: Benefits, limitations and challenges in diabetes care. Sakharnyy diabet = Diabetes Mellitus. 2023;26(4):352-362. (In Russ.).  DOI: 10.14341/DM13022  EDN: UQLBIX</mixed-citation></ref><ref id="B5"><label>3.</label><mixed-citation xml:lang="ru">Visentin R., Cobelli C., Dalla Man C. The Padova type 2 diabetes simulator from triple-tracer single-meal studies: In silico trials also possible in rare but not-so-rare individuals. Diabetes Technol. Ther. 2020;22(12):892-903.  DOI: 10.1089/dia.2020.0110  EDN: HRSGTT</mixed-citation></ref><ref id="B6"><label>4.</label><mixed-citation xml:lang="ru">Strukova É. I., Pozhar K. V. A structural model of glucose regulation for building prognostic algorithms for controlling insulin therapy. Biomed. Eng. 2024;58:62-67.  DOI: 10.1007/s10527-024-10367-2  EDN: PNFMHB</mixed-citation></ref><ref id="B7"><label>5.</label><mixed-citation xml:lang="ru">Литинская Е. Л. Управление и поддержка принятия решений в системе персонализированной инсулинотерапии. Изв. вузов. Электроника. 2021;26(2):162-171.  DOI: 10.24151/1561-5405-2021-26-2-162-171  EDN: TZTJRJ</mixed-citation></ref><ref id="B8"><label>9.</label><mixed-citation xml:lang="ru">Litinskaia E. L. Control and decision-making support in a personalized insulin therapy system. Izv. vuzov. Elektronika = Proc. Univ. Electronics. 2021;26(2):162-171. (In Russ.).  DOI: 10.24151/1561-5405-2021-26-2-162-171</mixed-citation></ref><ref id="B9"><label>6.</label><mixed-citation xml:lang="ru">Карпельев В. А., Филиппов Ю. И., Тарасов Ю. В., Боярский М. Д., Майоров А. Ю., Шестакова М. В., Дедов И. И. Математическое моделирование системы регуляции гликемии у пациентов с сахарным диабетом. Вестник Российской академии медицинских наук. 2015;70(5):549-560.  DOI: 10.15690/vramn.v70.i5.1441  EDN: UXLQAT</mixed-citation></ref><ref id="B10"><label>11.</label><mixed-citation xml:lang="ru">Karpel'ev V. A., Filippov Yu. I., Tarasov Yu. V., Boyarsky M. D., Maiorov A. Yu., Shestakova M. V., Dedov I. I. Mathematical modeling of the blood glucose regulation system in diabetes mellitus patients. Vestnik Rossiyskoy akademii meditsinskikh nauk = Annals of the Russian Academy of Medical Sciences. 2015;70(5):549-560. (In Russ.).  DOI: 10.15690/vramn.v70.i5.1441  EDN: UXLQAT</mixed-citation></ref><ref id="B11"><label>7.</label><mixed-citation xml:lang="ru">Dalla Man C., Micheletto F., Lv D., Breton M., Kovatchev B., Cobelli C. The UVA/Padova type 1 diabetes simulator: New features. J. Diabetes Sci. Technol. 2014;8(1):26-34.  DOI: 10.1177/1932296813514502</mixed-citation></ref><ref id="B12"><label>8.</label><mixed-citation xml:lang="ru">Breton M., Kovatchev B. Analysis, modeling, and simulation of the accuracy of continuous glucose sensors. J. Diabetes Sci. Technol. 2008;2(5):853-862.  DOI: 10.1177/193229680800200517</mixed-citation></ref><ref id="B13"><label>9.</label><mixed-citation xml:lang="ru">Шафиркин А. В. Компенсаторные резервы организма и здоровье населения в условиях хронических антропогенных воздействий и длительного психоэмоционального стресса. Физиология человека. 2003;29(6):12-22.  EDN: OOKWAT</mixed-citation></ref><ref id="B14"><label>15.</label><mixed-citation xml:lang="ru">Shafirkin A. V.Compensatory reserves of the human body and population health under conditions of exposure to chronic anthropogenic factors and prolonged psychoemotional stress. Fiziologiya cheloveka. 2003;29(6):12-22. (In Russ.).  EDN: OOKWAT</mixed-citation></ref><ref id="B15"><label>10.</label><mixed-citation xml:lang="ru">Chuprakov D. A., Pozhar K. V. Analysis of methods for calculating optimal parameters for insulin boluses in automated insulin therapy systems with control based on predictive models. Biomed. Eng. 2023;57(2):102-106.  DOI: 10.1007/s10527-023-10278-8  EDN: SFYKUQ</mixed-citation></ref><ref id="B16"><label>11.</label><mixed-citation xml:lang="ru">Strukova E. I., Chuprakov D. A., Pozhar K. V., Litinskaia E. L. Design of the glucose metabolism simulator for personalized automated insulin therapy systems development. In: 2024 IEEE Ural-Siberian Conference on Biomedical Engineering, Radioelectronics and Information Technology (USBEREIT). Yekaterinburg: IEEE; 2024, pp. 188-191.  DOI: 10.1109/USBEREIT61901.2024.10583972</mixed-citation></ref></ref-list>    
  </back>
</article>
